Scenario: Package files under the Project_a folder into Project.war 1. PackagingJAR-XVF project.war/project_aDescription-C Create War package-V Show Process information-f Specifies the JAR file name, usually this parameter is required-M does not produce a manifest for all items (the Manifest) file, this parameter ignores the-m parameter-0 This is the Arabic nume
Just started using JAR-XVF to decompress also error, suspect jar decompression command there is a problem. Then install the zip-related package to extract or error.Jar Decompression ErrorJAR-XVF Aix.ppc64_11gR2_database_1of2.zipInflated:database/stage/components/oracle.sysman.console.db/11.2.0.1.0/1/datafiles/filegroup4.jarjava.io.EOFException:Unexpected end of ZLIB input streamAt Java.util.zip.InflaterInpu
Encountered the database can not find the cause of the problem, can only find the log, find the log when the old log is compressed, only to try to extract the A large amount of data, only in production decompression, and then to find The file name is *.tar.gz, and your blog has previously documented the decompression method: Http://www.cnblogs.com/garinzhang/archive/2013/04/23/3037147.html Use TAR–ZXVF *.tar.gz can not decompress, obviously good tar.
The unzip is usually available when using Linux, but it may not be available in the system after a minimal installation.Yum List unzip see if the installationIf not installed, continue yum install unzipAfter installation, you can use the zip and unzip commands to compress and decompress the zip file!Syntax:
-inf| '--MANIFEST'--Test'--test.classJar XVF Test.jarThe result of the operation is the same as 7, with detailed information displayed for the decompression process, such as:Created: meta-inf/Expand: Meta-inf/manifest. MfCreated: test/Expand: Test/test.class9) jar UF Test.jar MANIFEST.MFAdded the file manifest.mf in Test.jar, this use jar TF to see Test.jar can f
1. Packaging jar files under DOS
Copy Code code as follows:
D:\jdk1.5.0_07\bin> Jar/help
Usage:jar {ctxu}[vfm0mi] [jar-file] [manifest-file] [-c directory] filename ... Options: -c Create a new archive -t List of archived content -x expand a name
. The network is a magical thing, you do not need to remember, as long as the search, there will always be some place you need: reference to these twoUsing Microsoft.VisualBasic;Using Microsoft.VisualBasic.Devices;The following two sentences to resolve the renaming, hahaha, you laugh, suddenly think you saw yesterday a sentence, "Why programmers like to write code, because that is in the creation of a life, to give him the program intelligence ~"Computer MyComputer = new computer ();MyComputer.F
directory, do the following to achieve the same effect.Zip–q–r Html.zip HTMLFor example, now my HTML directory, I manipulate the zip compression command isZip–q–r Html.zip *The above is done in quiet mode, and contains system files and hidden files//////////////////////////////////////////////////////////Unzip syntax:Unzip [-cflptuvz][-agcjlmnoqsvx][-p Additional note: Unzip is the
Command1.java file converted to class file: Javac-source 1.6-target 1.6 X.java (X.java is the file to be converted, the default is to generate a class file of the same name)Such as:
D:\java\studio\sdk\build-tools\22.0.1>javac-source 1.6-target 1.6 com/chaos/ha
Ck/AntiLazyLoad.java
2.class
Java class package into jar file introduction of jar package, java class package jar
1. Package classes into jar files
First, let's take a look at the source code of MainActivity. java and func. java respectively.
To package func. java into a
Now I've written a Java project and want to export the executable jar file. There are two methods, as follows.
I. Runnable JAR File
Click the "File" button in the upper left corner of Eclipse and select "Export".
Select "Runnable
http://blog.csdn.net/caiqcong/article/details/7618582spanstyle= "FONT-FAMILY:SIMSUN;FONT-SIZE:12PX;">XML version= "1.0" encoding= "UTF-8" standalone= "no"?>Projectdefault= "Create_run_jar"name= "Create Runnable Jar for Project SeleniumAutomation-3.1"> This file is created by Eclipse Runnable JAR Export Wizard - ANT 1.7 is required - Targetname= "Create_r
I am writing a Java project, which is an API provided to the customer to call, but my API requires about 10. Jar files,
In the past, I used the export JAR file function of eclipse to export jar files. Such jar files can be used, but the package customers who depend on my AP
In the pom.xml of the MAVEN project, add:Details:1. Right click on Maven project, >maven clear in Run as, first clean up, may error, no tube2. In the menu section, such as: file, edit, source, refactor, Navigate, Project, MyEclipse, Mobile, Search, Run, Windows, help find project> Clear, clears the project, why this step, do not directly execute 3 and 4, I have tried this side, not clear, under the Web-inf class all. java files are not automatically c
As we all know, zip is a compressed file format, MAC OS default supported file format, at that time occasionally when you open the zip file you want to unzip, but automatically become a cpgz file without decompression, and then double-click the Cpgz
Convert the Jar file to the exe installation file, and install the jar file.
In the past few days, my girlfriend asked me to help her develop a tool for exporting Excel files on the Windows platform. Considering the time problem, I chose the most skilled language Java. Hosts
Convert the Jar file to the exe installation file, and install the jar file.
After checking on the network and using the exe4jtool for real-time conversion, the basic steps of the software are as follows:
1. you need to know whether the target
Data.zip file has more than 4G, decompression when the problem.
Archive:data.zip
End-of-central-directorysignature not found. Either Thisfile is not
A zipfile, or itconstitutes one disk of a multi-partarchive. In the
latter case the centraldirectory and ZipFile comment would be found on
The last disk (s) of thisarchive.
Unzip:cannot find Zipfiledirectory in one of Bbs.zip or
Data.zip.zip,and cannot find Data.zip.ZIP, p
Linux zip unzip file decompression command setZip is one of the common compression and compression commands in linux. After the file is compressed, it will generate another file ". zip "extension of the compressed file, because zip can be easily used in windows, so zip is a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.